package cn.com.bluemoon.daps.system.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 系统企业微信部门数据
 * </p>
 *
 * @author admin
 * @since 2022-12-12
 */
@Data
@Accessors
@ApiModel(value = "DapSystemWechatDept", description = "系统企业微信部门数据")
public class DapSystemWechatDept extends Model<DapSystemWechatDept> {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "企业微信部门名称")
    private String name;

    @ApiModelProperty(value = "企业微信父级id")
    private Integer parentid;

    @ApiModelProperty(value = "企业微信部门顺序")
    private Integer wxOrder;

    @Override
    protected Serializable pkVal() {
        return id;
    }

}
